//导入创建sage的方法
import {combineReducers} from "redux-immutable";
//导入规则
import hellowordSage from "../views/helloword/store/action/index";
import {composeWithDevTools} from "redux-devtools-extension";
import {applyMiddleware, createStore} from "redux";
import helloword from "../views/helloword/store"
import thunk from "redux-thunk";  ///异步方案

const render = combineReducers({
    helloword   //Store方法
})


const store = createStore(
    render,
    composeWithDevTools(
        applyMiddleware(thunk) //注册中间键
    )
)

export default store


